home *** CD-ROM | disk | FTP | other *** search
- <?xml version='1.0' encoding='EUC-KR' ?>
- <!DOCTYPE manualpage SYSTEM "../style/manualpage.dtd">
- <?xml-stylesheet type="text/xsl" href="../style/manual.ko.xsl"?>
- <!-- English Revision: 1.1.2.6 -->
-
- <!--
- Copyright 2004 The Apache Software Foundation
-
- Licensed under the Apache License, Version 2.0 (the "License");
- you may not use this file except in compliance with the License.
- You may obtain a copy of the License at
-
- http://www.apache.org/licenses/LICENSE-2.0
-
- Unless required by applicable law or agreed to in writing, software
- distributed under the License is distributed on an "AS IS" BASIS,
- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- See the License for the specific language governing permissions and
- limitations under the License.
- -->
-
- <manualpage metafile="htpasswd.xml.meta">
- <parentdocument href="./">Programs</parentdocument>
-
- <title>htpasswd - basic authentication┐í ╗τ┐δ╟╥ ╗τ┐δ└┌╞─└╧└╗
- ░ⁿ╕«╟╤┤┘</title>
-
- <summary>
- <p><code>htpasswd</code>┤┬ HTTP basic authentication┐í ╗τ┐δ╟╥
- ╗τ┐δ└┌╕φ░· ╛╧╚ú╕ª └·└σ╟╧┤┬ └╧╣▌╞─└╧└╗ ╗²╝║╟╧░φ ╝÷┴ñ╟╤┤┘.
- <code>htpasswd</code>░í ╞─└╧└╗ ╛▓░┼│¬ └╨└╗ ╝÷ ╛°┤┘╕Θ,
- ┐└╖∙╗≤┼┬╕ª ╣▌╚»╟╧░φ ╛╞╣½░═╡╡ ╝÷┴ñ╟╧┴÷ ╛╩┤┬┤┘.</p>
-
- <p>╛╞╞──í └Ñ╝¡╣÷┤┬ └┌┐°└╗ <code>htpasswd</code>╖╬ ╕╕╡τ ╞─└╧┐í
- ▒Γ╖╧╟╤ ╗τ┐δ└┌┐í░╘╕╕ ║╕┐⌐┴┘ ╝÷ └╓┤┘. └╠ ╟┴╖╬▒╫╖Ñ└║ ╗τ┐δ└┌╕φ░·
- ╛╧╚ú╕ª └·└σ╟╧┤┬ └╧╣▌ ╞─└╧└╗ ░ⁿ╕«╟╤┤┘. ▒╫╖»│¬ ┤┘╕Ñ └┌╖ß└·└σ
- ╣µ╜─└╗ └º╟╪ ╛╧╚ú ┴ñ║╕╕ª ╛╧╚ú╚¡╟╧┐⌐ └·└σ╟╥ ╝÷ └╓┤┘. DBM
- ╡Ñ└╠┼═║ú└╠╜║╕ª ╗τ┐δ╟╧╖┴╕Θ <a
- href="dbmmanage.html">dbmmanage</a>╕ª ┬ⁿ░φ╟╧╢≤.</p>
-
- <p><code>htpasswd</code>┤┬ ╛╞╞──í ╞»└»└╟ MD5 ╚ñ└║ ╜├╜║┼█└╟
- <code>crypt()</code>╕ª ╗τ┐δ╟╧┐⌐ ╛╧╚ú╕ª ╛╧╚ú╚¡╟╤┤┘.
- <code>htpasswd</code>░í ░ⁿ╕«╟╧┤┬ ╞─└╧└║ ╡╬ ┴╛╖∙└╟ ╛╧╚ú╕ª
- ╕≡╡╬ └·└σ╟╥ ╝÷ └╓┤┘. ┴∩, ░░└║ ╞─└╧┐í MD5╖╬ ╛╧╚ú╚¡╟╤ ╛╧╚ú╕ª
- ╗τ┐δ╟╧┤┬ ╗τ┐δ└┌┐═ <code>crypt()</code>╖╬ ╛╧╚ú╚¡╟╤ ╛╧╚ú╕ª
- ╗τ┐δ╟╧┤┬ ╗τ┐δ└┌ ┴ñ║╕ ╕≡╡╬ │¬┐├ ╝÷ └╓┤┘.</p>
-
- <p>└╠ manpage┤┬ ╕φ╖╔╟α ┐╔╝╟╕╕└╗ ╝│╕φ╟╤┤┘. <a
- href="httpd.html">httpd</a>┐í╝¡ ╗τ┐δ└┌└╬┴⌡└╗ ╝│┴ñ╟╧┤┬ ┴÷╜├╛ε┐í
- ┤δ╟╤ ╝│╕φ└║ ╛╞╞──í ╣Φ╞≈║╗┐í ╞≈╟╘╡╟└╓░φ <a
- href="http://httpd.apache.org">http://httpd.apache.org/</a>┐í╝¡╡╡
- ║╝ ╝÷ └╓┤┬ ╛╞╞──í ╝│╕φ╝¡╕ª ┬ⁿ░φ╟╧╢≤.</p>
- </summary>
- <seealso><a href="httpd.html">httpd</a></seealso>
- <seealso>╣Φ╞≈║╗┐í┤┬ SHA1└╗ ┴÷┐°╟╧┤┬ ╜║┼⌐╕│╞«╡╡ └╓┤┘.</seealso>
-
- <section id="synopsis"><title>░│┐Σ</title>
- <p><code><strong>htpasswd</strong>
- [ -<strong>c</strong> ]
- [ -<strong>m</strong> ]
- [ -<strong>D</strong> ] <var>passwdfile</var> <var>username</var></code></p>
-
- <p><code><strong>htpasswd</strong> -<strong>b</strong>
- [ -<strong>c</strong> ]
- [ -<strong>m</strong> |
- -<strong>d</strong> |
- -<strong>p</strong> |
- -<strong>s</strong> ]
- [ -<strong>D</strong> ] <var>passwdfile</var> <var>username</var>
- <var>password</var></code></p>
-
- <p><code><strong>htpasswd</strong> -<strong>n</strong>
- [ -<strong>m</strong> |
- -<strong>d</strong> |
- -<strong>s</strong> |
- -<strong>p</strong> ] <var>username</var></code></p>
-
- <p><code><strong>htpasswd</strong> -<strong>nb</strong>
- [ -<strong>m</strong> |
- -<strong>d</strong> |
- -<strong>s</strong> |
- -<strong>p</strong> ] <var>username</var> <var>password</var></code></p>
- </section>
-
- <section id="options"><title>┐╔╝╟</title>
- <dl>
- <dt><code>-b</code></dt>
- <dd>╣Φ─í(batch) ╕≡╡σ╕ª ╗τ┐δ╟╤┤┘. <em>┐╣╕ª ╡Θ╛ε</em>, ╛╧╚ú╕ª
- ╣░╛ε║╕┴÷╛╩░φ ╕φ╖╔╟α┐í╝¡ ╣▐┤┬┤┘. ╕φ╖╔╟α┐í <strong>╛╧╚ú░í
- ┴≈┴ó ╡σ╖»│¬╣╟╖╬</strong>, └╠ ┐╔╝╟└║ ╕┼┐∞ ┴╢╜╔╟╪╝¡ ╗τ┐δ╟╪╛▀
- ╟╤┤┘.</dd>
-
- <dt><code>-c</code></dt>
- <dd><var>passwdfile</var>└╗ ╕╕╡τ┤┘. <var>passwdfile</var>└╠
- └╠╣╠ ┴╕└τ╟╤┤┘╕Θ, ╡ñ╛ε╛┤┤┘. └╠ ┐╔╝╟└╗ <code>-n</code> ┐╔╝╟░·
- ░░└╠ ╗τ┐δ╟╥ ╝÷ ╛°┤┘.</dd>
-
- <dt><code>-n</code></dt>
- <dd>╞─└╧└╗ ╝÷┴ñ╟╧┴÷╛╩░φ ░ß░·╕ª ╟Ñ┴╪├Γ╖┬└╕╖╬ ├Γ╖┬╟╤┤┘.
- ╛╞╞──í░í ╣«╝¡└╠┐▄└╟ ░≈┐í ╗²╝║╟╤ ╛╧╚ú╕ª └·└σ╟╥╢º └»┐δ╟╧┤┘.
- (╟╫╗≤ ├╣╣°┬░ ╛╞▒╘╕╒╞«└╬) <var>passwdfile</var> ╛╞▒╘╕╒╞«░í
- ╛°▒Γ╢º╣«┐í ╕φ╖╔╟α ╣«╣²└╠ ┤┘╕ú┤┘. <code>-c</code> ┐╔╝╟░·
- ░░└╠ ╗τ┐δ╟╥ ╝÷ ╛°┤┘.</dd>
-
- <dt><code>-m</code></dt>
- <dd>MD5╕ª ╗τ┐δ╟╧┐⌐ ╛╧╚ú╕ª ╛╧╚ú╚¡╟╤┤┘. Windows, Netware,
- TPF┐í╝¡ ▒Γ║╗░¬└╠┤┘.</dd>
-
- <dt><code>-d</code></dt>
- <dd><code>crypt()</code>╕ª ╗τ┐δ╟╧┐⌐ ╛╧╚ú╕ª ╛╧╚ú╚¡╟╤┤┘.
- Windows, Netware, TPF╕ª ┴ª┐▄╟╤ ╕≡╡τ ╟├╖í╞√┐í╝¡ ▒Γ║╗░¬└╠┤┘.
- ╕≡╡τ ╟├╖í╞√└╟ <code>htpasswd</code>░í └╠ ╟ⁿ╜─└╗ ┴÷┐°╟╥ ╝÷┤┬
- └╓┴÷╕╕, Windows, Netware, TPF└╟ <a href="httpd.html">httpd</a>
- ╝¡╣÷┤┬ └╠ ╟ⁿ╜─└╗ ┴÷┐°╟╧┴÷ ╛╩┤┬┤┘.</dd>
-
- <dt><code>-s</code></dt>
- <dd>╛╧╚ú╕ª SHA ╛╧╚ú╚¡╟╤┤┘. LDAP ╡≡╖║┼Σ╕«▒│╚»╟ⁿ╜─(ldif)└╗
- ╗τ┐δ╟╧┐⌐ Netscape ╝¡╣÷╖╬ ┴ñ║╕╕ª ║╕│╗░┼│¬ ░┼┴«┐├╢º └»┐δ╟╧┤┘.</dd>
-
- <dt><code>-p</code></dt>
- <dd>╛╧╚ú╕ª ▒╫┤δ╖╬ ╗τ┐δ╟╤┤┘. ╕≡╡τ ╟├╖í╞√└╟ <code>htpasswd</code>░í
- ┴÷┐°╟╧┴÷╕╕, Windows, Netware, TPF└╟ <a href="httpd.html">httpd</a>
- ╡Ñ╕≤╕╕└╠ └╧╣▌ ╛╧╚ú╕ª ╣▐┤┬┤┘.</dd>
-
- <dt><code>-D</code></dt>
- <dd>╗τ┐δ└┌╕ª ╗Φ┴ª╟╤┤┘. htpasswd ╞─└╧┐í ╗τ┐δ└┌╕φ└╠ └╓┤┘╕Θ
- ╗Φ┴ª╟╤┤┘.</dd>
-
- <dt><code><var>passwdfile</var></code></dt>
- <dd>╗τ┐δ└┌╕φ░· ╛╧╚ú╕ª └·└σ╟╧┤┬ ╞─└╧╕φ. <code>-c</code>╕ª
- ╗τ┐δ╟╤ ░µ┐∞ ╞─└╧└╠ ╛°┤┘╕Θ ╗⌡╖╬ ╕╕╡Θ░φ, └╓┤┘╕Θ ╡ñ╛ε╛┤┤┘.</dd>
-
- <dt><code><var>username</var></code></dt>
- <dd><var>passwdfile</var>┐í ╕╕╡Θ░┼│¬ ╝÷┴ñ╟╥ ╗τ┐δ└┌╕φ.
- <var>username</var>└╠ └╠ ╞─└╧┐í ╛°┤┘╕Θ ╟╫╕±└╗ ├▀░í╟╤┤┘.
- └╓┤┘╕Θ ╛╧╚ú╕ª ╝÷┴ñ╟╤┤┘.</dd>
-
- <dt><code><var>password</var></code></dt>
- <dd>╛╧╚ú╚¡╟╧┐⌐ ╞─└╧┐í └·└σ╟╥ ╛╧╚ú. ┐└┴≈ <code>-b</code>
- ┐╔╝╟░· ░░└╠ ╗τ┐δ╟╥ ╝÷ └╓┤┘.</dd>
- </dl>
- </section>
-
- <section id="exit"><title>┴╛╖ß─┌╡σ</title>
- <p><code>htpasswd</code>┤┬ <var>passwdfile</var>┐í ╗τ┐δ└┌╕φ░·
- ╛╧╚ú╕ª ╝║░°└√└╕╖╬ ├▀░í╟╧░┼│¬ ╝÷┴ñ╟╤ ░µ┐∞ ("┬ⁿ") ┴╛╖ß─┌╡σ
- 0└╗ ╣▌╚»╟╤┤┘. <code>htpasswd</code>┤┬ ╞─└╧┐í ┴ó▒┘╟╥╢º ╣«┴ª░í
- ╣▀╗²╟╤ ░µ┐∞ <code>1</code>└╗, ╕φ╖╔╟α ╟ⁿ╜─└╠ └▀╕°╡╚ ░µ┐∞
- <code>2</code>╕ª, └╘╖┬╟╤ ╛╧╚ú┐═ ╚«└╬┬≈ ┤┘╜├ └╘╖┬╟╤ ░¬└╠
- └╧─í╟╧┴÷ ╛╩└║ ░µ┐∞ <code>3</code>└╗, ╕φ╖╔└╠ ┴▀┤▄╡╚ ░µ┐∞
- <code>4</code>╕ª, (╗τ┐δ└┌╕φ, ╞─└╧╕φ, ╛╧╚ú, ├╓┴╛ ░Φ╗Ω░ß░·)
- ░¬└╠ │╩╣½ ▒Σ ░µ┐∞ <code>5</code>╕ª, ╗τ┐δ└┌╕φ┐í ╟π┐δ╟╧┴÷╛╩┤┬
- ╣«└┌░í ╞≈╟╘╡╚ ░µ┐∞ <a href="#restrictions">┴ª╟╤ └²</a> ┬ⁿ░φ)
- <code>6</code>╕ª, ╞─└╧└╠ ┐├╣┘╕Ñ ╛╧╚ú╞─└╧└╠ ╛╞┤╤ ░µ┐∞
- <code>7</code>└╗ ╣▌╚»╟╤┤┘.</p>
- </section>
-
- <section id="examples"><title>┐╣┴ª</title>
- <example>
- htpasswd /usr/local/etc/apache/.htpasswd-users jsmith
- </example>
-
- <p>╗τ┐δ└┌ <code>jsmith</code>└╟ ╛╧╚ú╕ª ├▀░í╟╧░┼│¬ ╝÷┴ñ╟╤┤┘.
- ╗τ┐δ└┌┐í░╘ ╛╧╚ú╕ª ╣░╛ε║╗┤┘. Windows ╜├╜║┼█┐í╝¡ ╜╟╟α╟╧╕Θ
- ╛╧╚ú╕ª ╛╞╞──í ╞»└»└╟ MD5 ╛╦░φ╕«┴≥└╗ ╗τ┐δ╟╧┐⌐ ╛╧╚ú╚¡╟╧░φ,
- ╛╞┤╧╕Θ ╜├╜║┼█└╟ <code>crypt()</code> ╟╘╝÷╕ª ╗τ┐δ╟╤┤┘. ╞─└╧└╠
- ╛°┤┘╕Θ <code>htpasswd</code>┤┬ ╛╞╣½ └╧╡╡ ╟╧┴÷╛╩░φ ┐└╖∙╕ª
- │╜┤┘.</p>
-
- <example>
- htpasswd -c /home/doe/public_html/.htpasswd jane
- </example>
-
- <p>╗⌡╖╬ ╞─└╧└╗ ╕╕╡Θ░φ ▒╫ ╞─└╧┐í ╗τ┐δ└┌ <code>jane</code>└╗
- ├▀░í╟╤┤┘. ╗τ┐δ└┌┐í░╘ ╛╧╚ú╕ª ╣░╛ε║╗┤┘. ╞─└╧└╠ └╓┴÷╕╕ └╨░┼│¬
- ╛╡ ╝÷ ╛°┤┘╕Θ, <code>htpasswd</code>┤┬ ╞─└╧└╗ ╝÷┴ñ╟╧┴÷╛╩░φ
- ╣«▒╕╕ª ├Γ╖┬╟╤╚─ ┐└╖∙╗≤┼┬╕ª ╣▌╚»╟╤┤┘.</p>
-
- <example>
- htpasswd -mb /usr/web/.htpasswd-all jones Pwd4Steve
- </example>
-
- <p>╕φ╖╔╟α└╟ ╛╧╚ú(<code>Pwd4Steve</code>)╕ª MD5 ╛╦░φ╕«┴≥└╕╖╬
- ╛╧╚ú╚¡╟╧┐⌐ ┴÷┴ñ╟╤ ╞─└╧┐í └·└σ╟╤┤┘.</p>
- </section>
-
- <section id="security"><title>║╕╛╚╗≤ ░φ╖┴╟╥ ┴í</title>
- <p><code>htpasswd</code> ╡ε└╠ ░ⁿ╕«╟╧┤┬ └Ñ ╛╧╚ú╞─└╧└╠ └Ñ╝¡╣÷└╟
- URI ░°░ú┐í └╓└╕╕Θ <em>╛╚╡╚┤┘</em>. ┴∩, ║Ω╢≤┐∞└·░í └╠ ╞─└╧└╗
- ║╝ ╝÷ ╛°╛ε╛▀ ╟╤┤┘.</p>
-
- <p>╕φ╖╔╟α┐í ╛╧╚ú╚¡╟╧┴÷╛╩└║ ╛╧╚ú╕ª ╗τ┐δ╟╧▒Γ╢º╣«┐í <code>-b</code>
- ┐╔╝╟└╗ ├▀├╡╟╧┴÷ ╛╩┤┬┤┘.</p>
- </section>
-
- <section id="restrictions"><title>┴ª╟╤</title>
- <p>Windows┐═ MPE ╟├╖í╞√└║ <code>htpasswd</code>░í ╛╧╚ú╚¡╟╧┤┬
- ╛╧╚ú└╟ ▒µ└╠╕ª <code>255</code> ╣«└┌╖╬ ┴ª╟╤╟╤┤┘. ┤⌡ ▒Σ ╛╧╚ú┤┬
- 255└┌┐í╝¡ ┬⌐╕░┤┘.</p>
-
- <p><code>htpasswd</code>░í ╗τ┐δ╟╧┤┬ MD5 ╛╦░φ╕«┴≥└║ ╛╞╞──í
- ╝╥╟┴╞«┐■╛ε ╞»└»└╟ ░═└╠┤┘. └╠╕ª ╗τ┐δ╟╧┐⌐ ╛╧╚ú╚¡╟╤ ╛╧╚ú╕ª
- ┤┘╕Ñ └Ñ╝¡╣÷┐í╝¡ ╗τ┐δ╟╥ ╝÷ ╛°┤┘.</p>
-
- <p>╗τ┐δ└┌╕φ└║ <code>255</code> ╣┘└╠╞«╖╬ ┴ª╟╤╡╟░φ <code>:</code>
- ╣«└┌╕ª ╞≈╟╘╟╥ ╝÷ ╛°┤┘.</p>
- </section>
-
- </manualpage>
-